home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / flilib.zip / AAERR.H < prev    next >
C/C++ Source or Header  |  1993-02-09  |  830b  |  22 lines

  1. /* aaerr.h  Copyright 1990 Dancing Flame, San Francisco */
  2.  
  3. #ifndef AAERR_H
  4. #define AAERR_H
  5.  
  6. #define AA_SUCCESS 0            /* No Problem! */
  7. #define AA_ERR_MISC -1            /* Unclassified error */
  8. #define AA_ERR_NOMEM -2            /* Not enough memory */
  9. #define AA_ERR_CANTFIND -3        /* File doesn't exist */
  10. #define AA_ERR_CANTMAKE -4        /* Can't create file */
  11. #define AA_ERR_BADTYPE -5        /* File is not the right type */
  12. #define AA_ERR_BADDATA -6        /* File damaged internally */
  13. #define AA_ERR_WRONGREZ -7        /* File isn't 320x200 */
  14. #define AA_ERR_SHORTREAD -8     /* Not all of file is there */
  15. #define AA_ERR_SHORTWRITE -9    /* Couldn't write all of file */
  16. #define AA_ERR_SEEK    -10            /* Error during file seek */
  17.  
  18. typedef int Errval;    
  19. char *fli_error_message(Errval err); /* return something to say about error */
  20.  
  21. #endif /* AAERR_H */
  22.